package soap.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import soap.feign.dto.PersonDto;
import soap.service.PersonService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author ZhangPY
 * @since 2020-06-06
 */
@RestController
@RequestMapping("/person")
public class PersonController {


    @Autowired
    private PersonService personService;

    @RequestMapping(value = "/getPersonListForExport")
    public String getPersonListForExport(HttpServletRequest request, PersonDto personDto) {
        return personService.getPersonListForExport(request,personDto);
    }
}
